#pragma once

#include "ScriptCompiler/AST/DelegateNode.h"
#include "ScriptCompiler/ASTBuilder/ASTBuilder.h"

class CDelegateBuilder : public IASTBuilder
{
public:
    CDelegateBuilder(std::shared_ptr<CScriptFileContext> InContext);

    virtual bool ReadCurentToken() override;

    std::shared_ptr<CDelegateNode> Result;
protected:
    std::shared_ptr<CScriptFileContext> Context;
};